﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="deletarIVV.aspx.cs" Inherits="ivvIncorporadora.deletarIVV" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
        }
    </style>
    <link href="<%=Convert.ToString(ConfigurationManager.AppSettings["url"])%>/css/estilos.css"
        rel="stylesheet" type="text/css" />
</head>

<script language="javascript">

    function finalizar() {

        alert('Registro excluído com sucesso.');
        window.opener.location.href = "ivvs/List.aspx";
        window.close();
    }
    function finalizarErro() {

        alert('Registro possui dados relacionados, não pode ser excluido.');
        window.opener.location.href = "ivvs/List.aspx";
        window.close();
    }
    
</script>

<body>
    <form id="form1" runat="server">
    <h4 class="textoNegro">
        Deseja realmente excluir este registro?</h4>
    <asp:Button ID="Button1" runat="server" Text="Excluir" OnClick="Button1_Click" />
    <asp:Panel ID="pnlJS" runat="server">
    </asp:Panel>
    </form>
</body>
</html>
